
var swf_html = "";
function allSel(pkid, astr) {
	var a = document.getElementsByTagName("input");
	if (astr.checked != true) {
		for (var i = 0; i < a.length; i++) {
			if (a[i].type == "checkbox" && a[i].name == pkid && !a[i].disabled) {
				a[i].checked = false;
			}
		}
	} else {
		for (var i = 0; i < a.length; i++) {
			if (a[i].type == "checkbox" && a[i].name == pkid && !a[i].disabled) {
				a[i].checked = true;
			}
		}
	}
}
function gotoPn(pn, v) {
	document.getElementById(pn).value = v;
	document.getElementById(pn).form.submit();
}
function changePn(pn, v) {
	
	document.getElementById(pn).value = v.value;
	document.getElementById(pn).form.submit();
}
function changeRn(rn, v) {
	
	document.getElementById(rn).value = v.value;
	document.getElementById(rn).form.submit();
}
function checkAjaxFailure() {
	alert("ajax\u8bf7\u6c42\u53d1\u9001\u5931\u8d25");
	return;
}

